 <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="{:U('Index/index')}">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">邀请码管理</span></div>
        </div>
        <div class="search-wrap">
            <div class="search-content">
                
                    <table class="search-tab">
                        <tr>
							 <td>
							   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;我的{$j}级推广数量：{$num} 个
							 </td>
							
							    <td><a id="x1" class="btn btn-primary btn2" href="{:U('User/index?j=1')}">一级用户明细</a></td>
								 <td><a id="x2" class="btn btn-primary btn2" href="{:U('User/index?j=2')}">二级用户明细</a></td>
								  <td><a id="x3" class="btn btn-primary btn2" href="{:U('User/index?j=3')}">三级用户明细</a></td>
							 <td>我的推广链接：{$sys.url}/index.php/houtai/Login/reg/id/{$did}</td>
                        </tr>
                    </table>
                    <script>
					
					  var j="{$j}";
					
					   $('#x'+j).css('background',"red");
					
					</script>
            </div>
        </div>
        <div class="result-wrap">
            <form name="myform" id="myform" method="post">
              
                <div class="result-content">
                    <table class="result-tab" width="100%">
                        <tr>
                           
                            <th>用户名</th>
                            <th>注册时间</th>
							<th>所属级别</th>
                            <!--<th>营业额</th>-->
                          <!--  <th>所用邀请码</th>-->
                        </tr>
						
						<foreach name="re" item="v">
						
                        <tr>
                           
                            <td>{$v.username}</td>
                            <td>{$v.regtime|date="Y-m-d H:i:s",###}</td>
							<td></td>
                           <!-- <td>{$v.yingyee}元</td>-->
							<!--<td>{$v.yaoqingma}</td>-->
                        </tr>
                        </foreach>
                    </table>
                    <div class="list-page"> {$page}</div>
                </div>
            </form>
        </div>
    </div>
